package com.ruoyi.violate.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 同类型店铺对象 violate_type_shop
 * 
 * @author ruoyi
 * @date 2023-04-29
 */
@Data
public class ViolateTypeShop extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 链接 */
    @ExcelProperty(value = "链接", index = 0)
    @Excel(name = "链接")
    private String url;

    /** 店铺名称 */
    @ExcelProperty(value = "店铺名称", index = 1)
    @Excel(name = "店铺名称")
    private String shopName;

    /** 类目 */
    @Excel(name = "类目")
    @ExcelProperty(value = "类目", index = 2)
    private String typeCas;

    /** 一级类目全开 */
    @Excel(name = "一级类目全开")
    @ExcelProperty(value = "一级类目全开", index = 3)
    private String typeOpen1;

    /** 类目1 */
    @Excel(name = "类目一")
    @ExcelProperty(value = "一级类目", index = 4)
    private String typeCas1;

    /** 类目2 */
    @Excel(name = "类目二")
    @ExcelProperty(value = "二级类目", index = 5)
    private String typeCas2;

    /** 利润标签 */
    @Excel(name = "利润标签")
    @ExcelProperty(value = "利润标签", index = 6)
    private String state;

    private String filePath ;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setTypeCas(String typeCas) 
    {
        this.typeCas = typeCas;
    }

    public String getTypeCas() 
    {
        return typeCas;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("url", getUrl())
            .append("shopName", getShopName())
            .append("state", getState())
            .append("typeCas", getTypeCas())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
